#include "book_management.h"

int choice();

void create_account(User *user);

void storeUser(FILE *fp);

int loadUser(FILE *fp, User *user);

void login(User *user);

void displayBooks(BookList *pList);

void findBooks();

int borrow_book(User *pUser, Book *pBook, char *name);

int return_book(User *pUser, Book *pBook, char *name);

char bookFile[20];

char userFile[20];

User *head;

BookList *bList;

FILE *user_f;

FILE *book_f;
